package shuai7boy.vip.transformer.model.value.map;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;

import shuai7boy.vip.common.KpiTypeEnum;
import shuai7boy.vip.transformer.model.value.BaseStatsValueWritable;

public class TimeOutValue extends BaseStatsValueWritable {
	
	private String id;
	private long time;
	
	
	public void setId(String id) {
		this.id=id;
	}
	public String getId() {
		return this.id;
	}
	public void setTime(long time) {
		this.time=time;
	}
	public long getTime() {
		return this.time;
	}
	

	@Override
	public void write(DataOutput out) throws IOException {
		// TODO Auto-generated method stub
		out.writeUTF(id);
		out.writeLong(time);
	}

	@Override
	public void readFields(DataInput in) throws IOException {
		// TODO Auto-generated method stub
		this.id=in.readUTF();
		this.time=in.readLong();
	}

	@Override
	public KpiTypeEnum getKpi() {
		// TODO Auto-generated method stub
		return null;
	}

}
